﻿#include "CmdLineChartSidebarSettingsDeleteAllCurve.h"
#include <QFile>
#include <QDebug>
#include "BaseModule/IBaseSignal.h"
#include "PostCommandPy.h"

namespace PostCommand
{
    CmdLineChartSidebarSettingsDeleteAllCurve::CmdLineChartSidebarSettingsDeleteAllCurve()
        : CommandBase()
    {
        this->initCmdName();
    }
    CmdLineChartSidebarSettingsDeleteAllCurve::~CmdLineChartSidebarSettingsDeleteAllCurve()
    {
    }

    bool CmdLineChartSidebarSettingsDeleteAllCurve::execute()
    {
        bool _success = false;
        emit IBaseSignalInstance->signal_lineChartSidebarSettingsDeleteAllCurve();
        return true;
    }

    void CmdLineChartSidebarSettingsDeleteAllCurve::undo()
    {
        // TODO: undo
    }

    void CmdLineChartSidebarSettingsDeleteAllCurve::redo()
    {
        execute();
    }

}
